//
//  BukaStream.h
//  BukaTest
//
//  Created by 曹飞 on 2017/9/9.
//  Copyright © 2017年 GaoHang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BukaStream : NSObject 


@property (nonatomic, assign) long aid;
@property (nonatomic, assign) long vid;
@property (nonatomic, strong) NSObject *view;

@property (nonatomic, assign) int width;
@property (nonatomic, assign) int height;

@property (nonatomic, assign) int start_bitrate;
@property (nonatomic, assign) int max_bitrate;
@property (nonatomic, assign) int min_bitrate;
@property (nonatomic, assign) int target_bitrate;
@property (nonatomic, assign) int avg_bitrate;


@property (nonatomic, assign) int max_framerate;
@property (nonatomic, assign) int content_type;
@property (nonatomic, assign) int video_type;
@property (nonatomic, strong) NSString *ip;
@property (nonatomic, assign) int video_codec_code;
@property (nonatomic, assign) int audio_codec_code;
@property (nonatomic, strong) NSString *server_group;

//@property (nonatomic, assign) int streamID;




-(instancetype)initWithAid:(int)aid
                   withVid:(int)vid
                 withWidth:(int)width
                withHeight:(int)height
           withStarBitrate:(int)starBitrate
            withMaxBitrate:(int)maxBitrate
            withMinBitrate:(int)minBitrate
         withTargetBitrate:(int)taretBitrate
            withAvgBitrate:(int)avgBitrate
          withMaxFramerate:(int)maxFramerate
           withContentType:(int)__contentType
             withVideoType:(int)videoType
                    withIP:(NSString*)__ip
        withVideoCodecCode:(int)videoCodecCode
        withAudioCodecCode:(int)audioCodecCode
           withServerGroup:(NSString*)serverGroup
              withStreamID:(int)streamId;


@end
